package com.pengke.pangu.service.sys.service;

import com.pengke.pangu.service.sys.entity.SysPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 资源权限表 服务类
 * </p>
 *
 * @author lijunjie
 * @since 2025-02-14
 */
public interface ISysPermissionService extends IService<SysPermission> {

    List<SysPermission> getSysPermissionByUserId(Map<String,Object> param);

    List<SysPermission> getSysPermissionByRoleCode(String roleCode);
}
